package com.jcodes.simple.module.auth.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jcodes.simple.common.base.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@TableName("auth_post")
public class Post extends BaseEntity {
    /**  */
    @TableId
    private Long id;
    /** 部门ID */
    private Long deptId;
    /** 编码 */
    private String code;
    /** 名称 */
    private String name;
    /** 数据权限 */
    private String dataPermission;
    /** 租户号 */
    private String tenantId;
}
